package cn.kgc.tangcco.inherit03;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/8/20 上午9:54
 */
public class Woman extends Person {
    /**
     * 月经 true大姨妈来窜门了 false大姨妈逛街去了
     */
    private boolean menstruation;
    public Woman() {
    }

    public Woman(String nickname, int gender, int age) {
        super(nickname, gender, age);
    }
    public Woman(String nickname, int gender, int age,boolean menstruation) {
        this(nickname, gender, age);
        this.menstruation = menstruation;
    }

}
